;------------------------------------------------------------------------------------------------
[wpn_fal]:identity_immunities,weapon_probability,default_weapon_params,wpn_fal_sounds
GroupControlSection                      = spawn_group
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\fal"
scheduled                                = off
cform                                    = skeleton
parent_section                           = wpn_fal

class                                    = WP_AK74
slot                                     = 2
animation_slot                           = 2
ef_main_weapon_type                      = 2
ef_weapon_type                           = 6
hand_dependence                          = 1
single_handed                            = 0

inv_grid_height                          = 2
inv_grid_width                           = 5
inv_grid_x                               = 70
inv_grid_y                               = 72
inv_name                                 = st_wpn_fal
inv_name_short                           = st_wpn_fal
description                              = st_wpn_fal_descr

kind                                     = w_rifle
inv_weight                               = 4.45
cost                                     = 31300
repair_type                              = rifle_7
weapon_class                             = assault_rifle

hud                                      = wpn_fal_hud
visual                                   = dynamics\weapons\wpn_fal\wpn_fal.ogf
position                                 = -0.026, -0.097, 0
orientation                              = 0, 0, 0
fire_point                               = 0, 0.137, 0.649
fire_point2                              = 0, 0.097, 0.722
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_position                           = -0.26, -0.11, 0.25
strap_orientation                        = -15, -9, 110
ph_mass                                  = 4

flame_particles                          = weapons\generic_weapon05
smoke_particles                          = weapons\generic_shoot_00
grenade_flame_particles                  = weapons\generic_weapon01

shell_point				                 = -0.02,0.167,0.082
shell_dir				                 = 0, 0, 0.4
shell_particles				             = weapons\762x39

light_disabled                           = false
light_color                              = 0.6, 0.5, 0.3
light_range                              = 5
light_time                               = 0.2
light_var_color                          = 0.05
light_var_range                          = 0.5

upgrades                                 = up_gr_firstab_sig550, up_gr_seconab_sig550, up_gr_thirdab_sig550, up_gr_fourtab_sig550, up_gr_fifthab_sig550
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_sig550
upgr_icon_x                              = 300
upgr_icon_y                              = 900
upgr_icon_width                          = 300
upgr_icon_height                         = 100

fire_modes                               = 1, 3, -1
ammo_class                               = ammo_7.62x51_fmj, ammo_7.62x51_fmj_bad, ammo_7.62x51_fmj_verybad, ammo_7.62x51_ap, ammo_7.62x51_ap_bad, ammo_7.62x51_ap_verybad
ammo_current                             = 120
ammo_elapsed                             = 20
ammo_limit                               = 140
ammo_mag_size                            = 20
startup_ammo                             = 90

scopes                                   = ac10632, acog, eot, c-more
scope_status                             = 0
scope_zoom_factor                        = 0

silencer_name                            = wpn_sil_nato
silencer_status                          = 2
silencer_x                               = 205
silencer_y                               = 20
silencer_light_color                     = 0.6, 0.5, 0.3
silencer_light_range                     = 0.01
silencer_light_time                      = 0.2
silencer_light_var_color                 = 0.05
silencer_light_var_range                 = 0.5
silencer_smoke_particles                 = weapons\generic_shoot_00

grenade_class                            = ammo_m209, ammo_m209_bad, ammo_m209_verybad
grenade_launcher_name                    = wpn_addon_grenade_launcher_m203
grenade_launcher_status                  = 0
grenade_launcher_x                       = 133
grenade_launcher_y                       = 34
grenade_vel                              = 76
launch_speed                             = 76

hit_impulse                              = 35
hit_power                                = 0.76, 0.76, 0.76, 0.76
hit_type                                 = fire_wound
fire_distance                            = 1000
bullet_speed                             = 840
rpm                                      = 675
rpm_empty_click                          = 200

use_aim_bullet = false
time_to_aim                              = 0.0 ;  3.0
zoom_dof                                 = 0.5, 1, 180
zoom_enabled                             = true
zoom_rotate_time                         = 0.2
reload_dof                               = 0, 0.5, 5, 2
control_inertion_factor = 1.0f
crosshair_inertion                       = 6.75
fire_dispersion_base                     = 0.21
fire_dispersion_condition_factor         = 0.001

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.6
misfire_start_prob                       = 0.003
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.045

condition_queue_shot_dec                 = 0.0015
condition_shot_dec                       = 0.0015

cam_return                               = 0
cam_relax_speed                          = 5
cam_dispersion                           = 1.5
cam_dispersion_frac                      = 1.0
cam_dispersion_inc                       = 0.0775
cam_max_angle                            = 50.0
cam_max_angle_horz                       = 50.0
cam_step_angle_horz                      = 1.5
zoom_cam_relax_speed                     = 5
zoom_cam_dispersion                      = 1.2
zoom_cam_dispersion_frac                 = 0.7
zoom_cam_dispersion_inc                  = 0.0675
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 1.3

PDM_disp_accel_factor                    = 2.0
PDM_disp_base                            = 0.5
PDM_disp_crouch                          = 1.0
PDM_disp_crouch_no_acc                   = 1.0
PDM_disp_vel_factor                      = 2.0

cam_relax_speed_ai                       = 360
zoom_cam_relax_speed_ai                  = 360
holder_fov_modifier                      = 1.0
holder_range_modifier                    = 1.0
min_radius                               = 30
max_radius                               = 50

kill_msg_x                               = 80
kill_msg_y                               = 59
kill_msg_width                           = 87
kill_msg_height                          = 24


[wpn_fal_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_fal\wpn_fal_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

item_position                            = 0, 0, 0
item_orientation                         = 0, 0, 0

hands_position                           = 0.01, 0.01, 0.2
hands_position_16x9                      = 0.01, 0.01, 0.2
hands_orientation                        = 2, 2, 0
hands_orientation_16x9                   = 2, 2, 0

aim_hud_offset_pos                       = -0.08693, 0.06775, -0.22
aim_hud_offset_pos_16x9                  = -0.08693, 0.06775, -0.22
aim_hud_offset_rot                       = 0.0425, 0.0349, -0.0004
aim_hud_offset_rot_16x9                  = 0.0425, 0.0349, -0.0004

gl_hud_offset_pos                        = 0, 0, 0
gl_hud_offset_pos_16x9                   = 0, 0, 0
gl_hud_offset_rot                        = 0, 0, 0
gl_hud_offset_rot_16x9                   = 0, 0, 0

lean_hud_offset_pos                      = 0, 0, 0
lean_hud_offset_rot                      = 0, 0, 0

anm_hide                                 = fnfal_holster
anm_idle                                 = fnfal_idle
anm_idle_aim                             = fnfal_aim
anm_idle_aim_moving                      = fnfal_move, idle, 0.75
anm_idle_aim_moving_crouch               = fnfal_move, idle, 0.7
anm_idle_moving                          = fnfal_move
anm_idle_sprint                          = fnfal_sprint
anm_reload                               = fnfal_reload, reload
anm_shots                                = fnfal_shoot, shoot
anm_show                                 = fnfal_draw

shell_bone                               = gilza
shell_dir                                = 0, 1, 0
shell_point                              = 0, 0, 0

fire_bone                                = muzzle
fire_bone2                               = muzzle_gl
fire_point                               = 0, 0, 0
fire_point2                              = 0, 0, 0

;------------------------------------------------------------------------------------------------
[wpn_fal_ac10632]:wpn_fal
$spawn                                   = "weapons\fal_ac10632"

1icon_layer                              = ac10632
1icon_layer_x                            = 81
1icon_layer_y                            = 6

inv_weight                               = 4.56

hud                                      = wpn_fal_ac10632_hud
visual                                   = dynamics\weapons\wpn_fal\wpn_fal_barska.ogf


[wpn_fal_ac10632_hud]:wpn_fal_hud
item_visual                              = anomaly_weapons\wpn_fal\wpn_fal_barska_hud.ogf

aim_hud_offset_pos                       = -0.08642,0.04018,-0.2
aim_hud_offset_pos_16x9                  = -0.08642,0.04018,-0.2
aim_hud_offset_rot                       = 0.023, 0.034, 0
aim_hud_offset_rot_16x9                  = 0.023, 0.034, 0

;------------------------------------------------------------------------------------------------
[wpn_fal_acog]:wpn_fal
$spawn                                   = "weapons\fal_acog"

1icon_layer                              = acog
1icon_layer_x                            = 80
1icon_layer_y                            = 5

inv_weight                               = 4.8

hud                                      = wpn_fal_acog_hud
visual                                   = dynamics\weapons\wpn_fal\wpn_fal_acog.ogf

scope_status                             = 0
scope_dynamic_zoom                       = off
scope_zoom_factor                        = 20

zoom_rotate_time                         = 0.25


[wpn_fal_acog_hud]:wpn_fal_ac10632_hud,hud_low_interia
item_visual                              = anomaly_weapons\wpn_fal\wpn_fal_acog_hud.ogf

aim_hud_offset_pos                       = -0.087252, 0.043478, -0.26
aim_hud_offset_pos_16x9                  = -0.087252, 0.043478, -0.26
aim_hud_offset_rot                       = 0.0245, 0.0353, 0.0
aim_hud_offset_rot_16x9                  = 0.0245, 0.0353, 0.0

;------------------------------------------------------------------------------------------------
[wpn_fal_c-more]:wpn_fal
$spawn                                   = "weapons\fal_c-more"

1icon_layer                              = c-more
1icon_layer_x                            = 86
1icon_layer_y                            = 7

inv_weight                               = 4.75

hud                                      = wpn_fal_c-more_hud
visual                                   = dynamics\weapons\wpn_fal\wpn_fal_c-more.ogf

[wpn_fal_c-more_hud]:wpn_fal_hud
item_visual                              = anomaly_weapons\wpn_fal\wpn_fal_c-more_hud.ogf

aim_hud_offset_pos                       = -0.0866,0.038,-0.2
aim_hud_offset_pos_16x9                  = -0.0866,0.038,-0.2
aim_hud_offset_rot                       = 0.023, 0.034, 0
aim_hud_offset_rot_16x9                  = 0.023, 0.034, 0

;------------------------------------------------------------------------------------------------
[wpn_fal_eot]:wpn_fal
$spawn                                   = "weapons\fal_eot"

1icon_layer                              = eot
1icon_layer_x                            = 83
1icon_layer_y                            = 6

inv_weight                               = 4.75

hud                                      = wpn_fal_eot_hud
visual                                   = dynamics\weapons\wpn_fal\wpn_fal_eot.ogf

[wpn_fal_eot_hud]:wpn_fal_hud
item_visual                              = anomaly_weapons\wpn_fal\wpn_fal_eot_hud.ogf

aim_hud_offset_pos                       = -0.0864,0.0317,-0.2
aim_hud_offset_pos_16x9                  = -0.0864,0.0317,-0.2
aim_hud_offset_rot                       = 0.023, 0.034, 0
aim_hud_offset_rot_16x9                  = 0.023, 0.034, 0

